package com.eshealthy.dao;

import com.eshealthy.entity.Department;
import com.eshealthy.entity.Doctor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ManagerDao {
    List<Doctor> findAllDoctor(@Param("start")int start,@Param("rows") Integer rows,Integer id);

    Integer findTotalsDoctor(@Param("id")Integer id);

    List<Department> findAllDepartment(@Param("start")int start,@Param("rows") Integer rows,Integer id);

    Integer findTotalsDepartment(@Param("id")Integer id);
}
